<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8" />
        <!-- <meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'" /> -->
        <meta http-equiv="X-Content-Security-Policy" content="default-src 'none'; script-src 'self'" />
        <meta htto-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'self'" />
        <title>ChangeHost</title>
    </head>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        ::-webkit-scrollbar {
            transform: translateX(-100%);
            width: 8px;
            height: 8px;
        }
        ::-webkit-scrollbar-thumb {
            border-radius: 2px;
            background: #ccc;
        }
        body {
            width: 100vw;
            height: 100vh;
            background: #f3f4f5;
            overflow: hidden;
        }
        input {
            border: none;
            outline: none;
            font-size: 16px;
            border-bottom: 1px solid #eaeaea;
        }
        .mainBody {
            box-sizing: border-box;
            width: 100%;
            height: 100%;
            padding: 10px;
            display: flex;
        }
        .bodyItem {
            white-space: pre;
            padding: 14px;
            overflow-x: hidden;
            overflow-y: auto;
            border-radius: 10px;
            background: #ffffff;
            display: flex;
            flex-direction: column;
        }
        .content {
            margin: 0 10px;
            flex: 2;
        }
        .allContent {
            flex: 1;
        }
        .allContentItem {
            display: flex;
            flex-direction: row;
        }
        .allContentItem + .allContentItem {
            border-top: 1px solid #eaeaea;
        }
        .allContentItem .ip {
            width: 120px;
        }
        .contentCard {
            display: flex;
            flex-direction: column;
            padding: 6px;
            border-radius: 6px;
            box-shadow: 0 0 12px 2px rgba(0, 0, 0, 0.1);
        }
        .contentCard + .contentCard {
            margin-top: 14px;
        }
        .isSelect {
            position: relative;
        }
        .isSelect::after {
            content: "";
            position: absolute;
            pointer-events: none;
            border-radius: 6px;
            top: 1px;
            left: 1px;
            right: 1px;
            bottom: 1px;
            border: 1px dashed #2e77ee;
        }
        .groupItem {
            height: 36px;
            display: flex;
            flex-direction: row;
            align-items: center;
            border-bottom: 1px solid #eaeaea;
        }
        .groupItem .groupItemname {
            line-height: 36px;
            height: 36px;
            user-select: none;
            flex: 1;
        }
        .groupItem .groupItemname .nameShow {
            display: inline-block;
        }
        .groupItem .groupItemname .nameHide {
            display: none;
        }
        .groupItem .groupItemSwitch {
            transition: all 0.3s ease;
            position: relative;
            border-radius: 999px;
            width: 40px;
            height: 24px;
            background: #ed6a5f;
        }
        .groupItem .groupItemSwitch::after {
            content: "";
            position: absolute;
            transform: translate(0, -50%);
            top: 50%;
            left: 2px;
            border-radius: 999px;
            width: 18px;
            height: 18px;
            background: #ffffff;
        }
        .groupItem .active {
            background: #61c455;
        }
        .groupItem .active::after {
            transform: translate(100%, -50%);
        }
        .contentData {
            padding: 6px 0;
            display: flex;
            flex-direction: row;
        }
        .contentData .count {
            width: 40px;
            text-align: right;
            white-space: pre;
            background: #dddddd;
            font-size: 16px;
            padding: 6px;
            border-radius: 6px;
            margin-right: 8px;
            display: flex;
            flex-direction: column;
        }
        .contentData .count .numItem {
            user-select: none;
            cursor: pointer;
            height: 20px;
        }
        .contentData .count .isUse {
            color: #61c455;
        }
        .contentData textarea {
            overflow: hidden;
            font-size: 16px;
            resize: none;
            outline: none;
            line-height: 20px;
            padding: 6px;
            flex: 1;
            font-family: auto;
            border-radius: 6px;
            border: 1px solid #eaeaea;
            min-height: 200px;
        }
        .addHostCard {
            background: #ffffff;
            user-select: none;
            cursor: pointer;
            position: fixed;
            border-radius: 6px;
            left: 30px;
            bottom: 20px;
            padding: 6px 15px;
            box-shadow: 0 0 12px 2px rgba(0, 0, 0, 0.1);
        }
        .deleteItem {
            cursor: pointer;
            position: fixed;
            top: 0;
            left: 0;
            background: #fff;
            padding: 6px 15px;
            box-shadow: 0 0 12px 2px rgba(0, 0, 0, 0.1);
        }
        .setting {
            position: fixed;
            bottom: 20px;
            left: -40px;
            user-select: none;
            cursor: pointer;
            background: #ffffff;
            border-radius: 0 99px 99px 0;
            padding: 6px 20px 6px 6px;
            transition: all 0.6s ease-in-out;
            box-shadow: 0 0 12px 2px rgba(0, 0, 0, 0.1);
        }
        .setting:hover {
            transform: translateX(40px);
        }
        .setting::after {
            content: "";
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            right: -6px;
            width: 0;
            height: 0;
            border-top: 10px solid transparent;
            border-left: 10px solid #333333;
            border-bottom: 10px solid transparent;
            border-right: 10px solid transparent;
        }
    </style>
    <body>
        <div class="mainBody">
            <div class="content bodyItem"></div>
            <div class="allContent bodyItem"></div>
        </div>
        <!-- <div class="setting">设置</div> -->
        <div class="addHostCard">添加</div>
        <div class="deleteGroup"></div>
    </body>
</html>
